import type { RouteRecordRaw } from "vue-router";
const customers: RouteRecordRaw[] = [
  {
    path: "/customers",
    name: "Customers",
    component: () => import("@/layout/index.vue"),
    meta: {
      permissions: ["view_customers"],
      title:"用户"
    },
    children: [
      {
        path: "all",
        component: () => import("@/views/all-users/index.vue"),
        meta: {
          permissions: ["view_all_customers"],
          title:"全部用户"
        },
      },
      {
        path: "new",
        component: () => import("@/views/new-user/index.vue"),
        meta: {
          permissions: ["view_new_customers"],
          title:"新用户"
        },
      },
    ],
  },
];
export default customers;
